import request2 from "@/utils/request2";
// 提现列表
export function cashoutAll(query) {
    return request2({
        url: "admin/hospital/cashout/all",
        method: "post",
        data: query
    });
}
// 提现详情
export function cashShow(query) {
    return request2({
        url: "admin/hospital/cashout/show",
        method: "post",
        data: query
    });
}
// 提现审核
export function cashCheck(query) {
    return request2({
        url: "admin/hospital/cashout/check",
        method: "post",
        data: query
    });
}
// 提现导出
export function cashExport(query) {
    return request2({
        url: "admin/hospital/cashout/export",
        method: "get",
        params: query,
        responseType: "blob"
    });
}
// 医院添加
export function hospitalStore(query) {
    return request2({
        url: "admin/hospital/store",
        method: "post",
        data: query
    });
}
// 获取医院类型
export function hospitalCreate(query) {
    return request2({
        url: "admin/hospital/create",
        method: "post",
        data: query
    });
}
// 获取板块/大区/省份
export function getRegion(query) {
    return request2({
        url: "admin/common/get_all_region_list",
        method: "post",
        data: query
    });
}
// 获取城市
export function getCitys(query) {
    return request2({
        url: "admin/common/get_city_list",
        method: "post",
        data: query
    });
}
// 获取医院详情
export function hospitalShow(query) {
    return request2({
        url: "admin/hospital/show",
        method: "post",
        data: query
    });
}
// 医院修改
export function hospitalUpdate(query) {
    return request2({
        url: "admin/hospital/update",
        method: "post",
        data: query
    });
}
// 医院列表
export function hospitalIndex(query) {
    return request2({
        url: "admin/hospital/index",
        method: "post",
        data: query
    });
}
// 关联医生
export function get_doctor_list(query) {
    return request2({
        url: "admin/hospital/get_doctor_list",
        method: "post",
        data: query
    });
}
// 关联项目
export function get_project_list(query) {
    return request2({
        url: "admin/hospital/get_project_list",
        method: "post",
        data: query
    });
}